package ciyuan.Item.TypeInterface;

import ciyuan.Constants.ItemQuality;
import ciyuan.Player.Skill.SkillManager;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.item.Item;
import net.minecraft.util.text.ITextComponent;

public abstract class SkillBookType extends Item implements ALLItemType {

    public SkillBookType(Properties p_i48487_1_) {
        super(p_i48487_1_);
        SkillManager.addSkill(this);
    }

    @Override
    public ItemQuality getQuality() {
        return ItemQuality.EXCELLENT;
    }

    public abstract String getSkillCastName();

    public abstract void keyDown(PlayerEntity playerEntity);

    public abstract ITextComponent getSkillDescription();

    public abstract ITextComponent getSkillName();

}
